package yicr.untils.gis.wireless;

import lombok.Data;

import java.util.Objects;

@Data
public class WirelessCell {

    private String id;
    private int rowIndex;
    private String city;
    private String cellName;
    private String siteName;
    private String regionCategory;
    private String cellId;

    private double coverRadius;

    private double longitude;
    private double latitude;

    private double siteHeight;
    private double directionAngle;
    //垂直波瓣，半功率角
    private double verticalBeam;

    //水平波瓣
    private double horizontalBeam;

    //下倾角
    private double antennaDownDip;


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        WirelessCell cell = (WirelessCell) o;
        return Objects.equals(id, cell.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }
}
